package xyz.robinbingo.cloud.producer;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Robin
 * @create 2018-01-09 16:18
 * @desc
 **/
@RestController
public class HelloController {
    @GetMapping("/hello")
    public String index(@RequestParam String name) {
        return "hello " + name + "，this is the first message";
    }
}
